table: Fixing a bug in Name Tree resize function

In the Name Tree resize() function, the pre pointer needs to be reset for each bucket.

Change-Id: I58526c5aaedc63f47aa64dbe285657b98b2a227c