Bug fix in apply_gating_constraints() with control instructions.

--BRJ