I just learned about a contract cause called "Exhibit 3". Basically if the player can't play due to a known pre-existing injury, the contract becomes non-guaranteed. It's how the Wolves got out of the Brandon Roy contract.
With that in place this would be a solid gamble for Dallas, and one they'll probably be willing to make.