Ukrainian town pledges to return to Jewish ownership remnants of 17th-century synagogue that Nazis partially destroyed and Soviets took over