The fight over redrawing political maps is just ramping up in state legislatures and nonpartisan commissions around the country. But both Republicans and Democrats already are planning for major showdowns in the courts.