Talking to Terrorists: How to End Armed Conflicts