Voting rights groups decry error days before elections that will determine which party controls the state legislature