The Republicans who want to restrict voting rights are hurting their own party – and the country.