School bans 'out of hand' hugging