Remove the deprecated andSelf in favor of addBack. Fixes #13283

Remove andSelf in traversing.js and replace its usage with addBack in test files.