It appears to me that the multiple transfers from jurisdiction to jurisdiction are the key element behind the avoidance loopholes. Perhaps the key would be to apply a tax to corporate revenue whenever it leaves a jurisdiction? It could scale up based on the number of transfers, so the first time a company moves revenue in a year it is either free or 0%, but to move the same money again would incur a 2% charge, then 4% to move it again etc. Companies bouncing money around Ireland/Holland/Bermuda would stop getting to do this for free.
Another option would be to allow money to leave the country tax free on the condition the company declares that this is the final destination for the funds in this financial year, however if it's going to be bounced around at least one more haven, then there is a charge.