Exchange-driven all-optical magnetic switching in compensated 3d ferrimagnets