The trip comes as the Trump administration battles California over its immigration policies and as some of his fellow Republicans there keep their distance.