For Erdogan it’s purely tactical, nothing ideological. Erdogan knows that he can rely on MHP supporters vote in the event of a re-election. MHP supporters know they can’t win an election so they strategically vote for AKP, thereby restricting the HDP.