TEncSearch: break ties in favor of uni-directional MC [CHANGES OUTPUTS]

If bidir has the same cost as unidir, pick the unidir prediction. Bidir will
average the two directional prediction and thus tends to generate blurred
predictions. Uni-directional prediction is better when costs are the equal.