Half a million people are benefiting from a "hidden" inheritance rule that is boosting their state pension by more than £5,000 a year, according to new data