HARRISBURG, Pa. (AP) — Pennsylvania has enacted a $50 billion spending package to end a four-month budget stalemate that held up billions for public schools and social services. Democratic Gov. Josh Shapiro signed key budget bills by Wednesday’s end. To seal a deal with Republicans, Democrats abandoned a regulation that could have forced power plant owners pay for their planet-warming greenhouse gas emissions. The deal delivers substantial new sums to public schools, as Democrats sought, and an earned income tax credit for lower earners. School districts and social services providers have gone without state aid since July 1, when the state lost some spending authority without a budget in force.