China abandons pipeline after protests