Primary school will not be getting 28 new homes next door