Make potential MC64 failure as an exception

In the bipartite matching algorithm, there is a place potentially
resulting in failure of MC64 due to the inaccuracy of floating-point
number. Handle this potential failure as an exception.