Deliberation gated by opportunity cost adapts to context with urgency