S&P Global Ratings has upgraded Pakistan's long-term sovereign credit rating to 'B', citing improved…