The Pennsylvania Supreme Court ruled Monday that election officials must abide by an earlier decision and stop counting mail-in ballots that were invalidated because of an incorrect date on the outer envelope — a major victory for Republican Senate candidate David McCormick, who holds a narrow lead over Democratic Sen. Bob Casey ahead of a statewide recount.