EAGLESIX-3157: matcher: fix jshint issues

Fix JSHint issues with new pipeline matcher code ported from 2.6.5 code.
Part of an effort to cleanup various JSHint issues in one fell swoop so that we can keep things a bit cleaner going forward.

This must be unused and untested. That code would have never worked. That `release()` does not exist in our port (for good reason though because it's about memory management).
Another case where I couldn't help myself since it would crash and burn.
Sorry for the noise.