US grounds some Boeing MAX planes for safety checks after cabin emergency