Mark Goldring is to leave following the scandal involving claims of sexual misconduct by staff in Haiti.