Election czar to rule on legality amid accusations of racism and deterring voters