From this sentence until the end of verse 41 is background information that the writer inserted to explain to the readers how the ambush defeated the Benjamites. (See: [[rc://en/ta/man/translate/writing-background]])
This is an idiom that means they intentionally retreated. Alternate translation: "had allowed Benjamin to move forward" (See: [[rc://en/ta/man/translate/figs-idiom]])