School isolation sanctions upheld in judicial review of disciplinary measures