Court documents show how Zillow saw potential threats to its growth in the technology Compass was building for both agents and consumers.