I don't see this as a bug so much as how the worker AI prioritizes where to dig.
When hollowing out an area that connects to a dug out path in two places, rather than dig the entire path the whole way through, on the very last panel, the ants all leave the newly dug out space and go around to...