fix PR8642: if a critical edge has a PHI value that can trap,