The repair order, approved by the U.S. Federal Aviation Administration, resolves a manufacturing defect that has irritated customers, halted deliveries and thwarted Boeing's plans to smoothly reintroduce its flagship jetliner after two fatal crashes.