v2 of pions in central p-Pb collisions with peripheral subtraction and template fit with ultra-long-range correlations