Free agent Eric Thames agreed Tuesday to a $16 million, three-year deal with the Milwaukee Brewers, who cut first baseman Chris Carter following a…