[GHC] #10117: Change the scheme for reporting redundant imports