The current instruction sink pass uses findNearestCommonDominator of all users to find block to sink the instruction to.
However, a user may be in a dead block, which will result in unexpected behavior.
This patch handles such cases by skipping dead blocks. In addition, if findNearestCommonDominator fails somehow,
we bail out instruction sinking.
After D88758, the return value cannot be nullptr.