Donald Trump has called for Somalians to leave the US during an attack on Democratic lawmakers in Minnesota amid riots over his immigration crackdown.