Va. judge rules late ballots were illegal