The National Education Union’s general secretary says Labour MPs could pay a ‘high political price’.