[PatternMatch] Switch to use ValueTracking::matchSelectPattern