Erdogan's AKP party complains of irregularities after losing control of Turkey's largest city for the first time in 25 years; new vote set for June 23