PM: Turkey's borders open for refugees, closed to terrorists