President Recep Tayyip Erdogan sees the upheaval in neighboring Syria as an opportunity to thwart Kurdish nationalism.