Bargain hunters are snatching up private lending funds in the stock market, eager to buy assets that look cheap by a key measure.