Measurement of the branching fraction of the B0→Ds+π- decay