How Warren Buffett decides when to sell a stock, and why he might be dumping Bank of America