I think its bit complicated than it looks, atleast what i imagine , also im not sure if theres another way.
I think if you change the destination portal after you defeat the sandwraith lord to Gadir instead of Gardens it would somekind replace or pause the arc history.
Sadly i cant help you more, in that matter since i dont have many experience in teleports between maps.