How the Supreme Court and the right wing found loopholes to erode the decades-old voting rights victories