Airbus’s military misadventures have brought it delays, cost overruns—and now a crash