HMRC repays £48.5million in overpaid tax as pensioners caught out by 'outdated' system