Pseudo-supersymmetry and the domain-wall/cosmology correspondence