The crash was due to unconditionally calling
Block.succ_begin()->getReachableBlock()->hasNoReturnElement(), but
getReachableBlock() can return null now that we have turned
PruneTriviallyFalseEdges on.
This patch adds two tests that crash without the fix.
Nit.