Yes, it's about getting cornered as in surrounded by enemies from all sides, so a flank attack was necessary to create an opening, which is the only reason Крысобой survived the battle.

This doesn't seem to be a set-phrase or anything, at least not nowadays.