Ofgem's price cap will mean the cost to the government for energy support will be less than initially thought.