“We’ve stopped the bleeding,” said one energy efficiency advocate, but court challenges and legislative fixes may still be needed.