Anticipating a housing market downturn that will stretch into next year, online real estate seller Redfin is laying off 13% of its staff and shuttering...