Generalized Mom-structures and ideal triangulations of 3-manifolds with non-spherical boundary