The end of the US military mission in Iraq leaves the Kurdistan region facing a severe security vacuum.