Teachers not liable after pupils attacked at school