Spin-Orbit-Torque Switching of Ferrimagnets by Terahertz Electrical Pulses