More than half a million pensioners were receiving over £5,000 a year in inherited Serps payments in 2023/24.