Our current terror was not helped by foreign policy blunders of the past. Now it's time to build coalitions to end, not feed, ISIS chaos.