Ensure WT_BTREE_DISCARD_CLOSE is cleared when a handle is closed.

Not strictly required for the current LSM case since we never open
the handle again.