Loss of the Pennsylvania factory, which made fasteners for jets, threatens Boeing’s plan to get production back on track.