Rearrange the computation of unused imports; fixes Trac #7454
Rearrange the computation of unused imports; fixes Trac #7454

tibbe/ghc,GaloisInc/halvm-ghc,elieux/ghc,acowley/ghc,da-x/ghc,elieux/ghc,nathyong/microghc-ghc,wxwxwwxxx/ghc,jstolarek/ghc,shlevy/ghc,anton-dessiatov/ghc,mettekou/ghc,gcampax/ghc,hferreiro/replay,ml9951/ghc,olsner/ghc,mettekou/ghc,ghc-android/ghc,lukexi/ghc-7.8-arm64,ezyang/ghc,forked-upstream-packages-for-ghcjs/ghc,ezyang/ghc,mfine/ghc,gcampax/ghc,elieux/ghc,AlexanderPankiv/ghc,spacekitteh/smcghc,forked-upstream-packages-for-ghcjs/ghc,vTurbine/ghc,snoyberg/ghc,vikraman/ghc,olsner/ghc,ekmett/ghc,fmthoma/ghc,nushio3/ghc,nkaretnikov/ghc,urbanslug/ghc,gridaphobe/ghc,forked-upstream-packages-for-ghcjs/ghc,holzensp/ghc,sdiehl/ghc,olsner/ghc,ml9951/ghc,urbanslug/ghc,oldmanmike/ghc,mettekou/ghc,anton-dessiatov/ghc,acowley/ghc,sdiehl/ghc,ezyang/ghc,AlexanderPankiv/ghc,TomMD/ghc,tjakway/ghcjvm,gridaphobe/ghc,siddhanathan/ghc,wxwxwwxxx/ghc,oldmanmike/ghc,ml9951/ghc,snoyberg/ghc,TomMD/ghc,nushio3/ghc,wxwxwwxxx/ghc,sdiehl/ghc,lukexi/ghc-7.8-arm64,snoyberg/ghc,da-x/ghc,vTurbine/ghc,oldmanmike/ghc,siddhanathan/ghc,nushio3/ghc,holzensp/ghc,anton-dessiatov/ghc,shlevy/ghc,tjakway/ghcjvm,tjakway/ghcjvm,fmthoma/ghc,jstolarek/ghc,anton-dessiatov/ghc,AlexanderPankiv/ghc,olsner/ghc,hferreiro/replay,lukexi/ghc,gcampax/ghc,TomMD/ghc,hferreiro/replay,olsner/ghc,nkaretnikov/ghc,mcschroeder/ghc,vikraman/ghc,gridaphobe/ghc,oldmanmike/ghc,mfine/ghc,fmthoma/ghc,mcschroeder/ghc,green-haskell/ghc,AlexanderPankiv/ghc,tjakway/ghcjvm,lukexi/ghc-7.8-arm64,mettekou/ghc,mfine/ghc,gcampax/ghc,siddhanathan/ghc,green-haskell/ghc,nushio3/ghc,elieux/ghc,ezyang/ghc,shlevy/ghc,shlevy/ghc,shlevy/ghc,vTurbine/ghc,snoyberg/ghc,AlexanderPankiv/ghc,ryantm/ghc,sdiehl/ghc,tjakway/ghcjvm,sgillespie/ghc,mfine/ghc,lukexi/ghc,ghc-android/ghc,acowley/ghc,fmthoma/ghc,urbanslug/ghc,nushio3/ghc,urbanslug/ghc,sgillespie/ghc,christiaanb/ghc,sdiehl/ghc,hferreiro/replay,jstolarek/ghc,mettekou/ghc,olsner/ghc,fmthoma/ghc,urbanslug/ghc,TomMD/ghc,da-x/ghc,hferreiro/replay,mfine/ghc,vTurbine/ghc,fmthoma/ghc,forked-upstream-packages-for-ghcjs/ghc,sgillespie/ghc,ekmett/ghc,forked-upstream-packages-for-ghcjs/ghc,tibbe/ghc,ekmett/ghc,acowley/ghc,elieux/ghc,ghc-android/ghc,GaloisInc/halvm-ghc,frantisekfarka/ghc-dsi,GaloisInc/halvm-ghc,ml9951/ghc,holzensp/ghc,tjakway/ghcjvm,da-x/ghc,shlevy/ghc,christiaanb/ghc,bitemyapp/ghc,bitemyapp/ghc,sdiehl/ghc,da-x/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,oldmanmike/ghc,gcampax/ghc,tibbe/ghc,ml9951/ghc,ml9951/ghc,sgillespie/ghc,mcschroeder/ghc,forked-upstream-packages-for-ghcjs/ghc,vikraman/ghc,spacekitteh/smcghc,green-haskell/ghc,mettekou/ghc,ekmett/ghc,sgillespie/ghc,gcampax/ghc,christiaanb/ghc,gridaphobe/ghc,spacekitteh/smcghc,nkaretnikov/ghc,vikraman/ghc,GaloisInc/halvm-ghc,snoyberg/ghc,sgillespie/ghc,christiaanb/ghc,anton-dessiatov/ghc,ezyang/ghc,nushio3/ghc,nkaretnikov/ghc,mettekou/ghc,shlevy/ghc,mfine/ghc,wxwxwwxxx/ghc,anton-dessiatov/ghc,gridaphobe/ghc,vTurbine/ghc,acowley/ghc,nkaretnikov/ghc,holzensp/ghc,wxwxwwxxx/ghc,frantisekfarka/ghc-dsi,acowley/ghc,nushio3/ghc,ghc-android/ghc,lukexi/ghc-7.8-arm64,vikraman/ghc,mcschroeder/ghc,spacekitteh/smcghc,urbanslug/ghc,mfine/ghc,lukexi/ghc,GaloisInc/halvm-ghc,ryantm/ghc,gcampax/ghc,nathyong/microghc-ghc,TomMD/ghc,olsner/ghc,AlexanderPankiv/ghc,forked-upstream-packages-for-ghcjs/ghc,siddhanathan/ghc,ghc-android/ghc,jstolarek/ghc,bitemyapp/ghc,snoyberg/ghc,snoyberg/ghc,green-haskell/ghc,vTurbine/ghc,nathyong/microghc-ghc,ghc-android/ghc,nkaretnikov/ghc,ryantm/ghc,frantisekfarka/ghc-dsi,siddhanathan/ghc,TomMD/ghc,anton-dessiatov/ghc,lukexi/ghc-7.8-arm64,oldmanmike/ghc,oldmanmike/ghc,mcschroeder/ghc,bitemyapp/ghc,lukexi/ghc,lukexi/ghc,elieux/ghc,tjakway/ghcjvm,ml9951/ghc,vikraman/ghc,jstolarek/ghc,acowley/ghc,green-haskell/ghc,wxwxwwxxx/ghc,gridaphobe/ghc,hferreiro/replay,christiaanb/ghc,nathyong/microghc-ghc,nathyong/microghc-ghc,GaloisInc/halvm-ghc,fmthoma/ghc,ghc-android/ghc,mcschroeder/ghc,wxwxwwxxx/ghc,gridaphobe/ghc,hferreiro/replay,frantisekfarka/ghc-dsi,tibbe/ghc,da-x/ghc,tibbe/ghc,frantisekfarka/ghc-dsi,sgillespie/ghc,nathyong/microghc-ghc,nathyong/microghc-ghc,holzensp/ghc,vTurbine/ghc,urbanslug/ghc,da-x/ghc,siddhanathan/ghc,christiaanb/ghc,AlexanderPankiv/ghc,spacekitteh/smcghc,sdiehl/ghc,nkaretnikov/ghc,ml9951/ghc,ekmett/ghc,ezyang/ghc,mcschroeder/ghc,TomMD/ghc,ezyang/ghc,bitemyapp/ghc,siddhanathan/ghc,ryantm/ghc,vikraman/ghc,ryantm/ghc,elieux/ghc