US judge bars Alabama from purging thousands of voters before election.