The environmental group gave up its singular focus on climate change for a broader agenda. The ensuing internal strife left it weakened as it takes on the Trump administration.