They are told to move at it when their hp is low, but not to go back and attack whenit's full probably..
This makes a lot of sense. The enemy ones tend to do better, though, which is odd. I think that it may be the boundary case is wrong, because they will go back a lot of the time, but if they're not moving and fully healed, they aren't moving for the rest of the game.