CNN: Iraqi Prime Minister Adil Abdul Mahdi says he will resign

31 people have been killed and more than a thousand injured in the protests.