Shadow of intelligence debacle two decades ago hangs over US president as he considers joining Israeli attacks