Democrats have also won governor races in Virginia and New Jersey as Californians voted to redraw election maps.