A decision to repair a nuclear submarine at the Portsmouth Naval Shipyard instead of at privately owned Electric Boat in Groton, Conn., will save the U.S.