He was going to be a free agent at the end of the season.
The braves traded him near the deadline when they were out of the running anyway and I think they got some prospects in the deal.

Why would they be better off keeping him?