Never, ever deal with terrorists. Hunt them down and, more important, mercilessly punish those states and groups that fund, arm, support, or simply allow their territories to be used by the terrorists with impunity.
A reputation once broken may possibly be repaired, but the world will always keep their eyes on the spot where the crack was.