Gov. Josh Shapiro’s announcement came less than two weeks before SEPTA planned to follow through on dramatic fare hikes.