The P-8 contract was awarded at a time when Boeing’s reputation was still sterling—when Boeing was regarded as a paragon of American industry, in sharp contrast to the company’s current woes.