Replace duplicate `import` statements with null