Poland to send ambassador to Israel after talks with Herzog, agrees to solve future conflict via dialogue, putting row over restitution legislation to bed