Active Inference and Cognitive Control: Balancing Deliberation and Habits through Precision Optimization | Synapse