Judge allows Dakota pipeline to continue operating