Warning follows DfE guidance stating schools should take ‘all reasonable steps’ to stay open during teacher strikes