Afghanistan says gatherings mourning Mullah Omar ’legitimate target’