Taro Pharmaceutical was one of the rare exceptions of a stock that advanced while the S&P 500 descended into a bear market.