Route to deterministic terahertz wave control in scattering media