[PATCH 2/5] mshtml: Remove selection and range objects from document list when detaching.