The borg was looping on an equipment swap. He was encumbered and was trying to swap out his +2 Str weapon for a +0 Str weapon. That change made him even slower so he would switch back.
The borg needed a little help with resetting his recall depth.
He was looping on crushing ammo in inventory slot ‘w’ when that slot was empty.