Fix Eclipse build warnings by replacing checkstyle's import-control file with a simple regex rule. Fixes gh-4006