After London terror attack, Trump says he’ll ‘do what is necessary’ to prevent threat from spreading to US