Clean up after syntax errors during module_eval