A magnetohydrodynamic simulation of the bifurcation of tail lobes during intervals with a northward interplanetary magnetic field