Ontario public high school teachers come to agreement with province