Self-excited dynamics of an elastically restrained slender rigid body in uniform compressible laminar flow