Phase-space averaging and natural branching of nuclear paths for nonadiabatic electron wavepacket dynamics.