Fix problems related to manual joining of EMQX replicant nodes to the cluster. Previously, manually joining and then leaving the cluster rendered replicant node unable to start EMQX again and required a node restart. [Mria PR](https://github.com/emqx/mria/pull/128)