Basically, yep. We had a really stupid policy from the get-go. It got worse under Obama, which was basically let Maliki do whatever the hell he wanted. Which was basically let Maliki purge any and all Sunni from government. Which will guarantee a continued insurgency. Either Maliki will loot the treasury and flee the country if it looks like it's going to fall, or he's going to kick the hell out of the Sunni population.
Plus side is, our incompetence is working in favor of the Kurds. They're keeping a low profile, building infrastructure, probably acquiring weapons, and making nice with Turkey. Best hope for them is that the Sunni and Shiites rip each other to shreds, allowing the Kurds the chance to gain de facto independence.