The solution to this problem is so simple:
Tear down the dome and the mosque and don’t allow muslims on Temple Mount anymore.
That would be the best plan.