US court allows tallying of mail-in ballots after Election Day