A clerical error allowed a convicted man to walk free for 13 years. Then the justice system realized its mistake.