The event in Baku reinforced the Jewish community’s resolve to preserve Holocaust memory and strengthen ties with Israel.