J.A. Happ agrees to Yankees return — pact could max at 3 years, $51M