The now-scrapped moon mission would have been the U.S. space agency’s first resource-mapping mission off planet Earth.