modules/tm: load_contacts() now prefers contacts whose path is empty
- For contacts with the same q, order contacts so that contacts that
have empty path are preferred over ones that have path defined. In
practice, this affects only contacts with the same ua instance id.