Experimental and DFT Studies on Competitive Heterocyclic Rearrangements. A Cascade Isoxazole-1,2,4-Oxadiazole-Oxazole Rearrangement