Democratic socialists docketed a dozen victories on Election Day and suffered relatively few losses at the ballot box.