Court rulings on redistricting are raising Democratic hopes.