Portland property developer pulls out of the city after four decades after building became a squat