Resilient Networked Control of Inverter-Based Microgrids against False Data Injections