Micron reported better-than-expected earnings and revenue on Tuesday as well as a robust forecast for the current quarter.