Samsung heir freed after appeal wins suspended jail term