The UK Government faced a backlash from trade unions after it was revealed a £200m contract to build supply vessels for the Royal Navy would go overseas.