A new technology lets NASA’s Mars rover pinpoint its position within inches, drive farther on its own, and speed up exploration.