Compass Inc and Redfin Corp, both real estate brokers, announced job cuts as rising mortgage rates and the prospect of aggressive rate hikes reduce homebuying demand.