 Boeing has agreed to buy back the supplier Spirit Aero Systems in an all-stock deal valued at $4.7 billion, just over $8 billion including Spirit debt. The deal reunites Boeing with a business it spun off nearly two decades ago, and it comes as the embattled airplane maker tries to fix its manufacturing defects. Rival Airbus will also take over parts of Spirit.