You're getting something that's key to your problem wrong. Order of operations. From the rule book:
2– Xenos move 1 Zone toward their destination Zone by
taking the shortest AVAILABLE path. IMPORTANT: Closed
doors are not taken into account to determine that path.
If a closed door bars the path to the next Zone toward
their destination, all Xenos in the Zone spend their Action
destroying it instead of moving. Flip the door token on its
destroyed side. The way is now open. A destroyed door
cannot be closed again. Mold application (P. 20) removes
destroyed door tokens.
"Xenos move 1 Zone toward their destination Zone by taking the shortest AVAILABLE path." (Moths would move three zones instead of one.)
Here's the part I think you're getting stuck on.
IMPORTANT: Closed doors are not taken into account to determine that path. If a closed door bars the path to the next Zone toward their destination, all Xenos in the Zone spend their Action destroying it instead of moving.
It goes like this - Xenos look for survivors. They find that there's two of them. One is 4 spaces away, but is behind a door in a room that cannot be reached without going through the door. The other is 8 spaces away, the Xenos would need to turn left at the door, then right at the next hallway to reach that survivor. However, the pathway is completely open already.
They're going to go towards the survivor that is 8 spaces away and ignore the survivor behind the door. Doors break line of sight, require an extra action to open and can be opened by survivors, unless destroyed.
Now, let's say the Xenos move one space passed the door, it's one space behind them now, trying to reach the survivor down the corridor who is now 3 spaces away.
The survivor in the room opens the door but doesn't move. The pathway is now open. On the next activation, the Xenos are going to turn around and go back towards the door with the survivor that's only two spaces away because the path was opened when it was time for them to plot their moves and that survivor is closest. [We're ignoring noise in this example.]
Doors are only destroyed when there is no other viable path to survivors and the door blocks the path.