Fix error on partitioner when a new document is created

The region property was not correctly initialized in the constructor of the document partitioner.