Effective Mitigation of Radiation-induced Single Event Transient on Flash-based FPGAs