At first I thought this a puzzle game where you had to keep hiding behind objects as they pass. Then realized their patrol patterns are not synchronized. So I then started trying to teleport them into the cage. Once I realized what was happening, I just gave up and moved on until finding the spell to kill them off.