Zillow took ‘massive losses’ on Phoenix homes, laying off 25% of workforce