Middle-class pensioners to lose benefits under Tory plan to fund social care