Britain's largest residential gas and electricity supplier is set to pay £1.5m in refunds and compensation after failing to provide customers with final bills within six weeks, Ofgem has said.