HMRC has issued more than 370,000 letters to older people whose State Pension may be underpaid.