The Wet Seal has swung to a third-quarter loss after legal costs, impairment charges and falling sales hurt the teen apparel retailer.