Remove unreachable statements