Stocks may be setting records, but many investors have gotten burned by being on the wrong side of overcrowded trades.