Just a few years ago Republicans gerrymandered themselves into what looked like unbreakable majorities in Wisconsin.