Theresa May has ordered her foreign and home secretaries to speak to their US counterparts about Donald Trump’s ban on people from seven predominantly Muslim countries entering the US, as she faced increasing pressure over the issue.