Strategies to Avert Electrochemical Shock and Their Demonstration in Spinels