In my second attempt I tried to do this as adviced in this thread – cleared whole cave before joining with the second team but than on the way to the exit a risen grub spawned and after killing it the second team returned to the place they were initially in and refused to move.
It’s been over two weeks since reporting the bug here and nothing has been done. I guess fixing the story mode should be a priority since it’s blocking your progress in the game.