Deformations Of G2-Structures, String Dualities And Flat Higgs Bundles