Democrats feared a gerrymandering bloodbath — but new analysis finds 'surprisingly' good news for them