Как удалять юнитов, которые с начала боя, я не знаю( там нужно их скриптовое имя).
local units = GetCreatures(DEFENDER);
for i, unit in units do
local unit_id = GetCreatureType(unit);
if(unit_id == АЙДИ_ДЬЯВОЛА) then
removeUnit(unit)
end
end