Modeling and computation of the onset of failure in polymeric liquid filaments