In the midst of its extended mission on Mars, NASA’s Spirit rover ran into a software glitch over the weekend and rebooted itself, mission managers said Monday. The anomaly represented the first software reset since Spirit froze up early in its mission. This time, however, the consequences were not nearly as serious.