Iraq names new president, paving way for new government