Upscale retailer Neiman Marcus has swung to a second quarter loss after it was hit by slumping sales and writing down the value of its assets by $560.1m.