Make SourceMap#apply more flexible, allowing index of source to be given.