Clean up some debugging statements, avoid potential core dumps.
Minor restructuring for clarity, no real change.
If the WT_REF in the parent being split references an on-page overflow key,
we have to schedule it for subsequent discard, otherwise we'll leak it.