Cosmological lower bound on the EDM of the electron