A probabilistic approach to the numerical homogenization of irregular solid foams in the finite strain regime