The upcoming mission to lasso an asteroid could also reveal how to deflect Earth-bound space rocks.