The solution is clear:
1) Return the UH-60s to the US inventory. 2) Buy surplus MI-17s on the open market. 3) Deliver those MI-17s to Afghanistan.
Bingo!