On iterated Mal'cev products with a pseudovariety of groups