Perturbations of eigenvalues embedded at threshold: Two-dimensional solvable models