Supreme court appoints a special master to oversee redistricting