The State of Washington reached a settlement with Zillow and Redfin, ordering the housing platforms to end an anticompetition scheme, officials announced.