Remove prevRest logic entirely

The previous commit broke simpler use cases where prevRest actually
referred to the props array used by treeLookup()