Discussing cryptocurrencies during Monday's broad selloff, Jim Cramer says some lessons are only learned from losing money.