Bush warns Iraq over ties with Iran