Policy iteration.