On the total variation regularized estimator over the branched path graph