The prime minster of Iraq has relinquished power – opening a new political chapter in that country.