Upstream from Standing Rock, tribes balance benefits, risks of oil