Pirates part ways with team president Coonelly