[GHC] #7578: Instance selection regression from 7.4 to 7.6