NEW YORK — Well, that was a disappointing ending. After years of nearly uninterrupted and strong returns, most mutual funds looked set to deliver another quarter of gains, albeit modest ones, for April through June. That is, it looked that way until the eve of the quarter’s end, when a sell-off in global stock markets pulled down many funds.