Use array of capture indices when resolving scope

Previously the captures ivar hash was passed in which was incorrect
since it must be the current array of capture matches.

Closes atom/language-make#4
Remove unused ivar