Most of the natural gas in Ecuador’s oil fields gets flared in an ongoing environmental debacle because the country would need to build a network of pipelines to transport the fuel.