Bon-Ton posts smaller-than-expected loss in third quarter