Avoid duplicates of carbon copies

When multiple resources have the same (highest) priority, the session manager routes messages sent to their bare JID to all of these resources.  In this situation, `mod_carboncopy` created a copy of _each_ of those copies.  So, if another resource had a lower priority but carbon copies enabled, it would've received multiple copies of such messages.  This commit fixes that issue.