[GHC] #10417: Rule matching not "seeing through" floating and type lambda (and maybe cast)