But school leaders' union says primaries also need ‘flexibility’ because of ‘immense pressure’ they are under