The Turkish president has lashed out at what he says are mixed messages coming from the US Trump administration about its plans to pull troops out of Syria.