Germany’s shipyards are bringing forward orders to avoid idle capacity after a €10 billion ($11.3 billion) frigate program was scrapped this week, and defense contractors are trying to figure out where they might fit in the replacement’s supply chain.