[CSApply] Switch delayed closure processing to use `participatesInInference`
[CSApply] Switch delayed closure processing to use `participatesInInference`

Instead of checking the frontend flag directly, let's use dedicated
method on a constraint system to determine whether closure did
participate in inference or not.

roambotics/swift,gregomni/swift,ahoppen/swift,glessard/swift,apple/swift,gregomni/swift,roambotics/swift,ahoppen/swift,roambotics/swift,benlangmuir/swift,rudkx/swift,apple/swift,glessard/swift,JGiola/swift,glessard/swift,atrick/swift,atrick/swift,atrick/swift,gregomni/swift,rudkx/swift,glessard/swift,gregomni/swift,apple/swift,JGiola/swift,rudkx/swift,apple/swift,benlangmuir/swift,roambotics/swift,ahoppen/swift,atrick/swift,glessard/swift,roambotics/swift,benlangmuir/swift,benlangmuir/swift,JGiola/swift,rudkx/swift,ahoppen/swift,JGiola/swift,atrick/swift,apple/swift,glessard/swift,JGiola/swift,ahoppen/swift,ahoppen/swift,JGiola/swift,benlangmuir/swift,benlangmuir/swift,gregomni/swift,apple/swift,rudkx/swift,roambotics/swift,rudkx/swift,atrick/swift,gregomni/swift