Update and rename case_undo.c to undo.c