Gerrymandering’s origins had plenty to do with the wily efforts of Elbridge Gerry, governor of Massachusetts in 1812, whose redistricting scheme ensured that Democrats would clobber Federalists in elections.