Ministerial aide resigns over Trident replacement