Refine MiniShell code

 - Add MINISHELL_UnRegister function