The judge ruled the county hadn’t demonstrated that the federal government acted with “callous disregard” in taking the ballots.