Law and Justice party (PiS), which opposes compensation for Jewish Holocaust victims over Nazi-seized properties, narrowly comes out ahead for first time