Learning to Focus Reasoning in a Reactive Agent