Iraq and French oil major TotalEnergies signed a long-delayed $27 billion energy deal that aims to increase oil production and boost the country's capacity to produce energy with four oil, gas and renewables projects.