Computing a metric basis of a bipartite distance-hereditary graph