CNN's Jim Acosta, known for clashes with President Trump, opts to leave network rather than accept late-night slot.