General Dynamics to pump nearly $2 billion into its shipyards