More work on finding appropriate index and generate index scan node
delete outer/inner node when deallocating NestLoopNode; Forward End() to outer/inner node.