Trump faces second legal loss on mail-in voting