Division lost US$697 million in the third quarter as higher supply-chain and production costs offset progress on the 737 and 787