Sentence:  Very often these moments seem to arise on waking up; but probably this really means that sometime during the night I have undergone the process of <WSD>deconfusion</WSD> which is necessary to establish my ideas. 
Meaning of the word marked with <WSD> tags:  The process of reducing or eliminating confusion; clarification.