Even if you pull everyone when the side adds are gone you are fine btw. Probably its a bug but fight doesnt end :D Can just pull all and place at will.
I mainly just use the ground fighters as a safety net. If you kill all the mobs and get to that final part you can just cycle your marksman in the middle that you used to kill the mobs. Have you tried that?