On the stable b-matching problem in multigraphs