Donald Trumps administration får sjælden juridisk sejr i kontroversiel sag om påstået svindel ved valg i 2020.