[libcommhistory] Compare numbers in minimized form for contact match