Revert "MB-8465: Fix WMI enumerator leak"

This reverts commit e4e72c4e2e6c66aec5c2c34f6eafb161c25b2d48.
Revert "MB-8461: Change swap usage tracking"

This reverts commit 5190b2948fd5c8b4f972f7732400614e79546f82.