Student disciplined over his hairstyle