HMRC reveals 18,000 could lose protected benefits