U.S. court orders Dakota Access oil pipeline to be shut, emptied