Not defeat, but give them some land to create their own state where they can do what they like, let anyone that wants to move there and negotiate a 'peace' with the proviso that they will get flattened if they step out of line.
In the meantime, get all the moderate imams to denounce violence...