UK prime minister’s choice of former defence minister surprises allies