The contract with the resource-rich country is due to be signed on Wednesday during a visit by Germany’s president Frank-Walter Steinmeier to Ulaanbaatar.