Chavez is only entering his age-32 season. I wonder of the team tries to get him on a multi-year extension. Hendriks is a tough piece to give up though. 4 years of a very good reliever, or possibly a good starter.
My first thought is that I don't love this, but if Chavez signs away some free agent years for a reasonable price it could turn out well.