[Refactor] OSRBTree to use GetNil to get the nil element.

Pass Part I tests for OSRBTree in corresponding unit test file.