Cubs parting ways with notable core player at end of season