Several government officials said that in foreign policy, the UK prime minister is trying to be "a critical friend" of the United States and "a partner for practically everyone"