Democrats, in opposing President Trump’s cruel immigration policies, ended up reflexively adopting a politically disastrous agenda of their own.