Eigenvalue varieties of abelian trees of groups and link-manifolds