Fixes bug #3071.

http://code.opencv.org/issues/3071

If we have perfect matches (min_dist == 0.0), then strict comparison
fails. Making it non-strict results in treating perfect matches as
good.