The roles of tidal evolution and evaporative mass loss in the origin of CoRoT-7 b