Micron's earnings came in better than expected, and the company signed new long-term agreements