Pennsylvania court blocks counting of some mail-in ballots