Maliki resigned on Iraqi state TV Thursday night to make way for Haidar al-Abadi to form a national unity government and lead the struggle against the Islamist threat.