Pirates capture double-overtime win to even series