Some members of Congress have criticized cuts to the ranks of generals as a “purge” that will take years to rebuild.