The Democratic National Committee said the move to hand over the voter roll could violate federal election law.