St. Paul teachers union, school district avert strike