Sears Holdings narrows loss in second quarter