Those are flatworms alright. If you don't want to add another fish, flatworm exit works well at killing them. You need to suck out as many as you can see first, and keep some extra saltwater and carbon on hand when you treat. When the flatworms die they release toxins into the water.