DERBY-6045 (in list multi-probe by primary key not chosen on tables with >256 rows)

Backporting code changes and some additional tests to 10.10



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/branches/10.10@1480153 13f79535-47bb-0310-9956-ffa450edef68