Fix resolution of extends clauses in multiply declared interfaces
Fix resolution of extends clauses in multiply declared interfaces

fdecampredon/jsx-typescript-old-version,popravich/typescript,hippich/typescript,fdecampredon/jsx-typescript-old-version,mbebenita/shumway.ts,mbrowne/typescript-dci,fdecampredon/jsx-typescript-old-version,mbebenita/shumway.ts,popravich/typescript,popravich/typescript,mbebenita/shumway.ts,hippich/typescript,mbrowne/typescript-dci,hippich/typescript,mbrowne/typescript-dci,mbrowne/typescript-dci