Fix regression around type skolems and if exprs

Not sure what the actual cause is, but it seems to be triggered by containsForeignJumps spuriously returning true due to not checking to see if the symbol is actually a label.