It's not possible to stop valid transactions you don't like from being propagated and mined on the Bitcoin network. This is a feature not a bug. The reason is because even if your node blocks them, my node will forward them on. If your block template excludes them, mine will include them. The only thing you can do is accept this and move on.