Synthesis of fluorinated indazoles through ANRORC-like rearrangement of 1,2,4-oxadiazoles with hydrazine