Tim Cook returned $1 trillion to shareholders. John Ternus is being given permission to keep it.