California sued the Trump administration more than 100 times in his first term and secured some major victories on the environment, immigration and health care.