UCT: Move prior computation out of tree policy