Competitive Pseudopericyclic [3,3]- and [3,5]-Sigmatropic Rearrangements of Trichloroacetimidates.