Redistricting battle provides glimmer of hope for Republicans in November.