The Iraqi government and French energy giant TotalEnergies reached on Wednesday an agreement to move ahead on a $10 billion investment plan that had been delayed over the terms of a deal, aiming to boost oil, gas, and power production in the country.