If sweep hits a page that cannot be discarded, make sure the tree remains in a consistent state for readers.  In particular, switch the state to WT_REF_DISK for pages that are successfully discarded.

refs #1316