A Trump administration effort to dramatically weaken the Endangered Species Act faced legal opposition in the US. Environmental advocates blocked the sweeping rewrite that would have hastened species decline.