Handle 'alt' statements in dead code elimination