refactor($injector): remove unused invoke queue variable

Closes #8755