Only try to merge pages if there is a chance of success (that is, only if we see 3 split-merge pages in a row while walking the file).  Also fix a bug in __merge_unlock: only try to descend through internal pages.