S&P Global says strong balance sheets and well-capitalized banks will shield India’s rating, even as energy costs squeeze corporate margins.