Two Scottish lawyers set out what headteachers should know about equalities guidance on pupils’ hairstyles