Use RZ 1.4.0 integration branch
Use `get_state_partition` function

Since I opted not to take Eric's KV 1.4.0 integration branch I
switched back to using the temporary `get_state_partition` function.
This may go away once integrated with master, not sure yet.