dom/document: remove double Document#inspect implementation