Boeing has agreed to pay $2.5bn (£1.8bn) to settle US criminal charges that it hid information from safety officials about…