Ab initio study of the CE magnetic phase in half-doped manganites: Purely magnetic versus double exchange description