Boundary element analysis of planar drop deformation in confined flow. Part II. Viscoelastic fluids