ENGINE-1642 : Implement deleteProcessInstances