You could just point the miner at another pool and keep 100% of the shares. Cutting out CoinHive is trivially simple.
I really don't get the problem though. Someone's website is hacked and points to coinhive, and we want coinhive to fix it? This is why we can't have nice things.