[agent] additional refactor Search

Small additional refactoring.

Removed unused createViewCidMap logic.

Is a follow up to https://github.com/MarionetteLabs/marionette.inspector/pull/56
Face palm. Sweat