The ruling is a boon for Democrat Stacey Abrams, who is within one percentage point of a runoff election for governor next month.