The training, approved by the State Department, underscores the perils of military partnerships with repressive governments.