US must stop legitimizing terrorist group: Erdogan aide