Sure, that's a logical explanation, but if it isn't brought up in the episode it just feels like trying to apply a logical explanation like a band-aid to a plot hole that doesn't make sense and wasn't resolved by the plot itself.
Also it's not like the Dark Troopers move to the decks below to support the other droids about to be trashed by Luke first, they literally just stand in front of the door doing nothing for minutes until Luke shows up to theatrically cut them to pieces, which is at odds with them aggressively trying to get to their target in literally EVERY other scene they appear in.
I mean, I could be wrong with my read, but to me Giancarlo Esposito's acting spelled it out pretty clearly. I don't mind when the show decides to just let us interpret the character's thoughts or plans through their body language and through camera blocking/framing. Another example of this being done in Mando is the scene where Mando goes to leave after turning in the Child to Herzog's character (I think episode 2 or 3?). They could have had a scene with him explaining why he's going back on his Creed for the "right thing", but instead they have him acting (without his actual face mind you), and showing his thoughts to you through body language and framing. ie: he notices the little joystick ball is missing, screws it on, and shuts down the ship as a result.
The way it played out, to me, is that the Dark Troopers priority is to defend Moff Gideon against any Jedi intervention, or, if within shooting distance, try to take them out.
Obviously they stand no chance against freaking Luke Skywalker. Gideon deduces this, and tries to off himself, to him he had already lost. Remember: "Assume he knows everything"
--
One conversation I had the other day that was kinda fun was, assuming my read above is correct and the Dark Troopers prioritize Jedi, the question: "how did the Dark Troopers
know/sense Luke"?
The theory: Let's say Sidious had a catalogue of all the Jedi lightsabers and crystals they used from the Temple on Coruscant. Let's say Qui-Gon's crystal was one of them. And then let's say Gideon's Dark Troopers have this information and can sort of read each crystals "resonance" or
whatever. Then let's have Luke's lightsaber contain Qui-Gon's crystal.
It would be fun, if that were the case, and in those few seconds, Gideon not only deduces that it is a Jedi, but
which Jedi before anyone else in the room. Like super-nerd Star Wars lore historian-level deduction. Leading to his hopeless attempt to shoot the Team/off himself, and whatever might come next for him.
I don't know if they've explained just how Luke built that Green saber, yet, but my friends and I thought it was a fun thought exercise anyway.