Donald Trump's reaction to the New York truck-ramming attack has been to call for an end to the visa programme that let the suspect into the US.