Timely investment in the Boeing 787 Dreamliners has helped United keep its operations steady.