Abbas stands to gain from UN gambit