refactor($injector): Improved readability for injector.instantiate method

This code part is not so self-explanatory.
Refactored a few lines for easier understanding what happens at this function.