TrigCost: Fix missing chain-algorithm mapping
- populate chains and legs hashes - also
string2hash
(was missing for muons) - save chain's id instead of leg's id if the chain was active
- resize algs per chain histogram
string2hash
(was missing for muons)