Ground state recovery and molecular structure upon ultrafast transition through conical intersections in cyclic dienes