Optimization of High-β Fusion Devices Against Linear Instabilities