G.M. and Union Reach Deal on Contract Changes