The Iraqi parliament on Sunday approved the resignation of Prime Minister Adel Abdul Mahdi, as demonstrations continue in the country.