Andy Burnham, the new prime minister of Britain, in his first major security decision of the government, has agreed to continue the use by the United States of some British military bases for defense operations linked to Iran.