To me, it makes a ton more sense for the T-Wolves to not take on Foyle's deal.
Because of the 125% rule, the minimum salary the Dubs could give up to get KG would be $17,600,000 ($22m / 1.25).
As such, a deal of Monta, Brandon Wright, JazzyCabbages, POB, and the Trade Exception for KG would work, and they could even put in a contract like Mark Madsen's if they liked and it would still fit.
If the TE can't work as a piece in a deal (I'm honestly not sure), then we could move it to Orlando for their expirings and a pick so they could use it to get Rashard Lewis without having to renounce Darko.
Here's the Warriors' line-up:
SG: Steven Jackson
SF: Barnes or another MLE guy (who could be a SG and move SJax to the 3)
6th: Harrington (PF)
7th: Whatever we can get for MP (a mediocre C or Hakim Warrick would work)
10th: Vet PG for the minimum
12th: Combo Guard or Madsen