The middle man scheme you mention would be illegal under OP's idea. So prosecute everyone involved. The more people involved, the harder to hide it.
Your argument is basically "it doesn't make sense to have murder be illegal because the law won't prevent the bullet from flying."
This is pervasive in China; the politicians kid is the middleman. One child policy, so there's at most one kid -- makes it easy to know who to give the stock tips to.
Bernie Sanders is not the president of the United States.
Sure. It's impossible to prevent all crime. But that doesn't mean that rules and restrictions around what you can and can't do are useless. The existing rules for prohibiting insider trading when it comes to corporate executives work decently well; we should just expand those to apply to people in Congress (and make it apply to all securities for them).
It won't catch everything, but it will help. A lot.