Court orders Israel to tear down West Bank barrier segment