Dynamical Pruning of Rooted Trees with Applications to 1-D Ballistic Annihilation