The Suzuki-Miyaura Cross-Coupling Reaction of Halogenated Aminopyrazoles: Method Development, Scope, and Mechanism of Dehalogenation Side Reaction.