Lagon dying before transation -> lockout

I killed story Lagon with a higher-level chacter. First phase (two tentacles) went as expected. Second phase (multiple respawning tentacles) as well. But during the transition from phase two to phase three (teleport up to fight the two big tentacles) the fight broke. Apparently, while I was being teleported I dealt damage directly to them, enough to kill them. The teleport animation ended prematurely and I still stood in the bigger part of the arena. Lagon’s tentacles still blocked the stairway, so I couldn’t get to the upper floor in order to talk to them and progress the quest.