DeadLane bug fixed

Now not linking basicblock with no succ or pred, so no validator
exeption.

+ minimal cleanup in common module