TransCanada Corp. should be barred from building the Keystone XL pipeline to transport Canadian tar-sands crude to Gulf Coast refineries, pipeline opponents urged a Texas appeals court, citing a new state-court precedent.