Four-year deal and revamped pensions prevent Chicago teachers strike