Newly in the minority, Democrats voted with Republicans on Thursday to advance the immigration legislation, signaling that they will try and find spots to work with President-elect Donald Trump while simultaneously trying to block much of his agenda.