Thousands of pensioners who rely solely on the state pension are facing unexpected tax demands from HMRC.