The US EPA granted California’s waiver, which the incoming Trump administration is likely to try to overturn in the courts.