[GHC] #12931: tc_infer_args does not set in-scope set correctly