Turkish PM dubs planned Kurdish poll 'illegitimate'