Judge allows Oregon resident to be genderless