[GHC] #15035: Panic when using StaticPointers with typed holes