Fix best_inner_indexscan to actually enforce that an "inner indexscan" use at least one join condition as an indexqual.  Before bitmap indexscans, this oversight didn't really cost much except for redundantly considering the same join paths twice; but as of 8.1 it could result in silly bitmap scans that would do the same BitmapOr twice and then BitmapAnd these together :-(
Fix best_inner_indexscan to actually enforce that an "inner indexscan" use
at least one join condition as an indexqual.  Before bitmap indexscans, this
oversight didn't really cost much except for redundantly considering the
same join paths twice; but as of 8.1 it could result in silly bitmap scans
that would do the same BitmapOr twice and then BitmapAnd these together :-(

greenplum-db/gpdb,pavanvd/postgres-xl,Postgres-XL/Postgres-XL,lintzc/gpdb,lintzc/gpdb,foyzur/gpdb,CraigHarris/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,foyzur/gpdb,lintzc/gpdb,ovr/postgres-xl,yazun/postgres-xl,rvs/gpdb,oberstet/postgres-xl,Quikling/gpdb,janebeckman/gpdb,tpostgres-projects/tPostgres,yuanzhao/gpdb,rubikloud/gpdb,50wu/gpdb,rvs/gpdb,tpostgres-projects/tPostgres,zaksoup/gpdb,50wu/gpdb,lpetrov-pivotal/gpdb,janebeckman/gpdb,royc1/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,ashwinstar/gpdb,jmcatamney/gpdb,yazun/postgres-xl,zaksoup/gpdb,rvs/gpdb,rvs/gpdb,snaga/postgres-xl,Chibin/gpdb,rvs/gpdb,randomtask1155/gpdb,kaknikhil/gpdb,50wu/gpdb,adam8157/gpdb,ahachete/gpdb,randomtask1155/gpdb,Quikling/gpdb,CraigHarris/gpdb,ahachete/gpdb,kaknikhil/gpdb,lintzc/gpdb,snaga/postgres-xl,kmjungersen/PostgresXL,edespino/gpdb,ahachete/gpdb,arcivanov/postgres-xl,lintzc/gpdb,0x0FFF/gpdb,chrishajas/gpdb,ovr/postgres-xl,foyzur/gpdb,tpostgres-projects/tPostgres,ashwinstar/gpdb,cjcjameson/gpdb,zaksoup/gpdb,chrishajas/gpdb,oberstet/postgres-xl,atris/gpdb,greenplum-db/gpdb,atris/gpdb,royc1/gpdb,royc1/gpdb,foyzur/gpdb,adam8157/gpdb,foyzur/gpdb,zaksoup/gpdb,edespino/gpdb,randomtask1155/gpdb,tangp3/gpdb,rvs/gpdb,Chibin/gpdb,tangp3/gpdb,xuegang/gpdb,lisakowen/gpdb,Chibin/gpdb,xinzweb/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,yazun/postgres-xl,kaknikhil/gpdb,kaknikhil/gpdb,atris/gpdb,Chibin/gpdb,xinzweb/gpdb,ashwinstar/gpdb,postmind-net/postgres-xl,0x0FFF/gpdb,arcivanov/postgres-xl,Quikling/gpdb,kaknikhil/gpdb,oberstet/postgres-xl,adam8157/gpdb,yuanzhao/gpdb,randomtask1155/gpdb,edespino/gpdb,lintzc/gpdb,royc1/gpdb,chrishajas/gpdb,xuegang/gpdb,Quikling/gpdb,oberstet/postgres-xl,rubikloud/gpdb,edespino/gpdb,ahachete/gpdb,zeroae/postgres-xl,ovr/postgres-xl,rubikloud/gpdb,tangp3/gpdb,rubikloud/gpdb,arcivanov/postgres-xl,techdragon/Postgres-XL,greenplum-db/gpdb,adam8157/gpdb,lpetrov-pivotal/gpdb,yuanzhao/gpdb,rvs/gpdb,CraigHarris/gpdb,Quikling/gpdb,Postgres-XL/Postgres-XL,tangp3/gpdb,xinzweb/gpdb,janebeckman/gpdb,jmcatamney/gpdb,royc1/gpdb,edespino/gpdb,snaga/postgres-xl,foyzur/gpdb,lintzc/gpdb,techdragon/Postgres-XL,rvs/gpdb,rubikloud/gpdb,0x0FFF/gpdb,Chibin/gpdb,postmind-net/postgres-xl,adam8157/gpdb,yuanzhao/gpdb,zeroae/postgres-xl,xuegang/gpdb,lpetrov-pivotal/gpdb,royc1/gpdb,pavanvd/postgres-xl,Chibin/gpdb,edespino/gpdb,chrishajas/gpdb,Quikling/gpdb,50wu/gpdb,50wu/gpdb,ahachete/gpdb,greenplum-db/gpdb,lisakowen/gpdb,xuegang/gpdb,xinzweb/gpdb,jmcatamney/gpdb,Chibin/gpdb,kmjungersen/PostgresXL,cjcjameson/gpdb,50wu/gpdb,kaknikhil/gpdb,Quikling/gpdb,janebeckman/gpdb,techdragon/Postgres-XL,arcivanov/postgres-xl,atris/gpdb,yuanzhao/gpdb,rubikloud/gpdb,50wu/gpdb,cjcjameson/gpdb,tangp3/gpdb,foyzur/gpdb,snaga/postgres-xl,ovr/postgres-xl,yuanzhao/gpdb,techdragon/Postgres-XL,kmjungersen/PostgresXL,ashwinstar/gpdb,zeroae/postgres-xl,Quikling/gpdb,pavanvd/postgres-xl,rvs/gpdb,janebeckman/gpdb,yazun/postgres-xl,xinzweb/gpdb,0x0FFF/gpdb,CraigHarris/gpdb,tangp3/gpdb,jmcatamney/gpdb,arcivanov/postgres-xl,lpetrov-pivotal/gpdb,ahachete/gpdb,Quikling/gpdb,edespino/gpdb,xuegang/gpdb,xinzweb/gpdb,edespino/gpdb,cjcjameson/gpdb,lintzc/gpdb,lpetrov-pivotal/gpdb,pavanvd/postgres-xl,xuegang/gpdb,50wu/gpdb,tangp3/gpdb,royc1/gpdb,greenplum-db/gpdb,randomtask1155/gpdb,chrishajas/gpdb,atris/gpdb,xuegang/gpdb,yuanzhao/gpdb,atris/gpdb,jmcatamney/gpdb,adam8157/gpdb,Chibin/gpdb,lpetrov-pivotal/gpdb,greenplum-db/gpdb,tpostgres-projects/tPostgres,xuegang/gpdb,cjcjameson/gpdb,CraigHarris/gpdb,adam8157/gpdb,ashwinstar/gpdb,zaksoup/gpdb,randomtask1155/gpdb,xuegang/gpdb,postmind-net/postgres-xl,snaga/postgres-xl,yazun/postgres-xl,0x0FFF/gpdb,0x0FFF/gpdb,zaksoup/gpdb,janebeckman/gpdb,lisakowen/gpdb,CraigHarris/gpdb,kmjungersen/PostgresXL,janebeckman/gpdb,CraigHarris/gpdb,atris/gpdb,kaknikhil/gpdb,lisakowen/gpdb,tangp3/gpdb,chrishajas/gpdb,techdragon/Postgres-XL,Chibin/gpdb,arcivanov/postgres-xl,pavanvd/postgres-xl,ahachete/gpdb,ovr/postgres-xl,postmind-net/postgres-xl,xinzweb/gpdb,kaknikhil/gpdb,rvs/gpdb,foyzur/gpdb,kaknikhil/gpdb,ahachete/gpdb,royc1/gpdb,kmjungersen/PostgresXL,xinzweb/gpdb,cjcjameson/gpdb,oberstet/postgres-xl,rubikloud/gpdb,postmind-net/postgres-xl,chrishajas/gpdb,rubikloud/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,tpostgres-projects/tPostgres,cjcjameson/gpdb,CraigHarris/gpdb,zeroae/postgres-xl,CraigHarris/gpdb,zaksoup/gpdb,jmcatamney/gpdb,Postgres-XL/Postgres-XL,janebeckman/gpdb,lisakowen/gpdb,chrishajas/gpdb,jmcatamney/gpdb,adam8157/gpdb,cjcjameson/gpdb,janebeckman/gpdb,lisakowen/gpdb,lpetrov-pivotal/gpdb,atris/gpdb,zeroae/postgres-xl,Postgres-XL/Postgres-XL,randomtask1155/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,Quikling/gpdb,ashwinstar/gpdb,edespino/gpdb,lisakowen/gpdb,edespino/gpdb,0x0FFF/gpdb,lisakowen/gpdb,janebeckman/gpdb,zaksoup/gpdb,cjcjameson/gpdb,jmcatamney/gpdb,lintzc/gpdb,Postgres-XL/Postgres-XL,Chibin/gpdb,lpetrov-pivotal/gpdb,randomtask1155/gpdb