to me it comes down to whatever the contract language is. If the term was unconditional, he's entitled to whatever his contract provides for.
I'm sure the Yankees tried to find whatever loop hole they could to get out of the contract back when the suspension was put in place by MLB. If they couldn't find a way to get out of it, I doubt that $6M provision would be any easier to void.