Measurement of the B0→J/ψπ+π- Branching Fraction