The North Carolina state Supreme Court has thrown out a set of district maps that were assailed as “racially gerrymandered” after being ushered through the Republican-controlled legislature, finding them to be an unconstitutional violation of voters’ civil rights.