Self-Supervised Learning for Interactive Perception of Surgical Thread for Autonomous Suture Tail-Shortening