The justices will soon hear major cases on voting rights, affirmative action and partisan gerrymandering. Here’s a preview.