Micron Technology's stock erased its intraday losses and clawed back, bucking the broader memory-chip selloff that saw shares of Sandisk and Western Digital decline.