Yes, I’m aware of that, but it doesn’t “separate” anyone. It’s not an obstacle and it’s not relevant to the plot.
It wouldn’t be an obstacle to Duke Dooku who would leap over the pit and corkscrew through the closing blast doors while decapitating every stormtrooper as he went but after sneaking by the distracted troopers the hole is a significant barrier to Luke, made more so by the troops. It’s clearly meant to be as such by the way the shots are composed.