Dynamical pruning of the non-equilibrium quantum dynamics of trapped ultracold bosons