The justices who could be the swing votes in an eventual ruling suggested that an outdated formula built into the law now discriminates against the South, much as Southern states discriminated against black voters by erecting barriers such as poll taxes and literacy tests.