Turkey’s ruling party in Istanbul’s controversial mayoral election rerun has conceded defeat, handing the nation’s beleaguered opposition a landmark victory that will have dramatic consequences for President Recep Tayyip Erdoğan’s grip on the country.