Model of electron pressure anisotropy in the electron diffusion region of collisionless magnetic reconnection