The judge weighing a record settlement in multiple class actions against S&P Global over toxic financial products said Tuesday there was “no way” he would sign off on the deal while it stipulated that all funds be returned to the ratings agency in the event the settlement amount is disclosed.