After months of legal and political wrangling, the Obama administration on Wednesday rejected TransCanada’s application to build the Keystone XL pipeline through the United States. Republican immediately criticized the decision.