New York county agrees to redraw voting lines that lawsuit said disenfranchised residents of color