If an enemy is unable to reach the player, it should wait until all other enemies who can have moved, then try again. If it still fails, move towards a reachable position closest to the player.