Any member of the system who is separated from the service of the county before retirement for any cause other than death or permanent disability, shall have paid to him all his contributions to the fund and one-half of all interest credited to his account.