Machine-Learning Driven Load Shedding to Mitigate Instability Attacks in Power Grids