A federal judge has ordered Zillow to restore thousands of home listings that were removed during a dispute with Midwest Real Estate Data.