Extended Brueckner-Hartree-Fock theory with pionic correlation in finite nuclei