Probing vibrationally mediated ultrafast excited-state reaction dynamics with multireference (CASPT2) trajectories