Staff who have worked at a primary school for as long as 20 years face possible redundancy