1,3,4-Oxadiazole and Heteroaromatic-Fused 1,2,4-Triazole Synthesis Using Diverted Umpolung Amide Synthesis