IIRC, the claiming team is only responsible for a pro-rated amount of the major league minimum salary. He's got a $3 million buyout for next year too, I assume the Nats would be on the hook for that.
I think that's for a guy who clears waivers. A team claiming a guy on waivers is responsible for the whole remaining salary.