WASHINGTON — When President Obama announced last month that he was barring a Baghdad bank from any dealings with the American banking system, it was a rare acknowledgment of a delicate problem facing the administration in a country that American troops just left: for months, Iraq has been helping Iran skirt economic sanctions imposed on Tehran because of its nuclear program.