fix($CompileProvider): Handle fewer nodes than link functions in compositeLinkFn.

compositeLinkFn's loop iterates over two arrays, and therefore should
bounds-check both of those arrays.