The prime minister and social development minister have offered an apology to thousands of pensioners who did not receive their Winter Energy Payment this year, after an error in a law change meant people who were supposed to get the payment missed out.