Pa. budget impasse ends with passage, signing of $50.09 billion spending plan