Abortion debate moves to NSW upper house