Distribution of shortest paths at percolation threshold: application to oil recovery with multiple wells