Contracts are about a relationship between money and performance. The required performance can be changed with an appropriate transfer of money.
In other words, if someone else wants Contador enough, they can get him by compensating Astana for the loss of the remainder of his contract. No big deal, happens all the time.