Indonesia's version of counterterrorism could be a helpful example to follow in the campaign against extremism.