The New York Stock Exchange agreed to pay a $9 million to settle US Securities and Exchange Commission allegations that an internal malfunction led to a botched market open and wild price swings on a single day in January 2023.