Existing-home sales edged up 0.2%, well below economist expectations and extending the housing market’s long slump.