Fixed IndexOutOfBoundsException happening with CommonCodeInIfElseStatementRefactoring.

Dead code elimination:
* empty blocks
* if statements with a condition which is always true or always false
* while with a condition which is always false
* try with an empty body