Resisting Stochastic Risks in Diffusion Planners with the Trajectory Aggregation Tree