Fix pr4195: When iterating through predecessor blocks, break out of the loop