Some of the biggest U.S. institutional investors, from Tiger Global Management to Yale University’s endowment, were busy dumping stocks from their portfolios in the second quarter as markets cratered.