Boeing is expected to post another loss as a safety and manufacturing crisis weighs on deliveries of new planes.