When searching for pages to merge, don't walk up into a locked page: that can race with eviction.

refs #909