Redfin and Compass lay off workers due to housing decline