Arab League agrees to form coalition to counter militant threat in region