In the current scenario, the best thing to do is to go for a laparoscopic tubal patency and function test. If tubal patency or function appears compromised, then, IUI would not be helpful. You may land up with complications like an ectopic pregnancy
which would worsen the situation. IVF would be the better choice. I think you should take the latter doctor's advice. Hope this information is useful. Good luck.