Electronic excitation effects on nanoparticle formation in insulators under heavy-ion implantation