U.S. court rules Arizona tribe can have casino in the Valley