I have had a couple instances where guys who were released are picked up by new teams. I propose that the old team be relieved of the salary obligation, equal to the new contract.
So, lets say team ABC releases Dan Doe under contract and owes him 2m for 2 seasons (after 66.66% discount and etc, for ease of discussion). Team XYZ signs Dan Doe to a 2 year contract @ 1m per. I propose team ABC now only owes Dan the contract termination value - the value of the Dan's new contract (2m - 1m = 1m). The length of the termination should remain the same however; team ABC cant restructure to use the 2m of relief in one year for example. So in essence, Dan's buyout from team ABC is now 1m for 2 seasons instead of 2m for 2 seasons.
If team XYZ signs Dan to a 1 year $1m contract, then team ABC is only relieved of 1m for that year, until another contract is signed with Dan.
Does this make sense?