The company’s largest union rejected a contract that called for a 25% pay increase, halting production of 737 jets.