Credit ratings giant S&P Global on Monday agreed to pay the U.S. Securities and Exchange Commission $2.5 million to settle charges that it violated the regulator's rules against conflicts of interest.