Thank you for this, this is the answer. If you don't have a Pokemon that can target invisible mons, you have to get lucky and have an in flight attack get redirected to an invisible one after its target is defeated.