Fixed bug in ``_minpoly_op_algebraic_element``, see issue 7574

newline