primpart_content: correctly handle monomials.