The US is set to withdraw almost 12,000 troops from Germany in what it described as a "strategic" repositioning of its forces in Europe.