French prosecutor says danger from extremism has increased in past 2 years, noting Islamic State efforts to reclaim territory and restructure