Compass is one of the richest residential brokerages, fortified with $1.5 billion in venture capital. Now facing an uncertain economic future, the company said it has enough cash to withstand a slump of two or three quarters.