SACRAMENTO, California — California Democrats have reached a $50 million agreement to shore up state and local legal defenses against the incoming Trump administration just a week ahead of the president-elect’s inauguration. Half the money would go to fending off any mass deportation plan the new president might enact early in his administration.