I think if you're going to mix it into your gorp, M&Ms would be better. Should this happen again, immerse the gorp bag (tightly closed) in a stream to solidify the chocolate, then break into pieces. Chocolate coated gorp, or chocolate gorp bars!
I will be carrying my chocolate (Green and Black's Maya Gold) insulated in my FBC cozy inside my pack, because I will eat it only for dessert at night. Cut into 1 oz. pieces, separately wrapped. This will be a first time for me, to celebrate losing quite a bit of weight (as much as my 2-night pack weight). Not having been able to backpack yet this year (I just starting walking 20 minutes a day on soft ground after several months of nursing a nasty case of plantar fasciitis), I haven't been able to determine if I can resist eating the whole supply the first night (I never keep chocolate in the house for that reason).