Detonating a magnetically activated mine