Let me recapitulate to see if I've got everything right: well before it's ever got as far as to finish the Daesh in Iraq, the Iraqi government (read: IRGC) turned against Kurds in northern Iraq....and thus delivered a coup de grace upon 15 years of failed US 'foreign policy' in that country.

And the 'most effective fighters against the Daesh' - turned on their heels and fled, as soon as they were not supported by US and allied air power...

Oh man, what a surprise.