ent_remove needs a pointer to the entity:

entity* killer_ent;
action killer()
{
killer_ent = me;
}

now you just have to call ent_remove(killer_ent);