We slammed a $330-million spaceship the size of a dairy cow into an asteroid the size of the Great Pyramid of Giza. Here’s what we’re learning about how our first step in planetary defense could save us in the future.