French supermarket chain Intermarché has sold its remaining assets in Germany, signalling its total exit from that market.