It can be difficult for courts to assess whether districts have been gerrymandered. Moon Duchin is spearheading a program that will train math experts to help.