A jihadist attack on a restaurant popular with foreigners may force the government to change its strategy