Boeing takes $4.9 billion charge related to 737 MAX