French justice minister resigns over anti-terror plan