Clear references within dojo/aspect when handles are removed to avoid
over-retention of objects when a user removes a handle and then does
not dereference the handle. Fixes #17048.

Also, correct [30256] to allow remove functions to work correctly
when their context is changed, refs #16513.

!strict due to "use strict" pragma