Oil to keep flowing in Dakota line while legal battle continues