U.S. and allies agree on plan to defeat ISIS