Pennsylvania Gov. Josh Shapiro on Wednesday announced that he had reached an agreement with Shell to pay $10 million in penalties because the company’s new plastic manufacturing plant in Beaver County near Pittsburgh put more pollution in the air in its first months of operation than its state permits allow.