Implement special code for multiplication of quadratic nf_elems.