U.S. judge orders more environmental analysis of Dakota pipeline