Lawmakers agreed Thursday to withhold more than $1.9 million in salaries and benefits for the Department of Health over medical marijuana delays.