Pension deal steers more teachers to 401(k) plan