It's not a popular choice, but the stalemate between extremists and military forces makes negotiation worth re-considering.
The use of force hasn't worked, and negotiation is one of several non-military options for preventing terrorism.