Nearly 40,000 women have received an average of £11,905 for historical State Pension errors.