Weak decays of doubly heavy baryons: four-body nonleptonic decay channels