Federal judge rules in favor of Shoshone-Bannock Tribes