Dayton vetoes bill that would weaken teacher seniority