Donald Trump's pledge to mass deport undocumented immigrants was a central feature of his presidential election campaign.