refactored UnreachableCodeEliminator

Just a bit moderized