Top French court rules provision in security law 'unconstitutional'