Instability of vibrations of an oscillator moving along a beam on an elastic half-space