The policy would be to make the arrest when and where it posses the least risk to the public. That means a public confrontation is not an option. The action was the correct course.
Does anyone have anything that contradicts he did sell to an undercover narcotics officer?