This optimisation to remove dead code is not as good as it could be. Signed-off-by: Damien George <damien@micropython.org>