New Maldives law strips ex-president of party membership