Palestine hails UN rejection of anti-Hamas resolution