Implement proper overloading of EffectManager's assignment operator

This fixes some compiler warnings. It also allows us to preserve the
hero's effects while they are transformed and reapply them when they
untransform.