Chaos in spin-torque oscillator with feedback circuit