2 arrested last month are released after standoff sparked by allegations from Iran that Israel maintained a military presence in Azerbaijan, which Baku denied