Iran to back US-Iraq pact after referendum