pet_expr_extract_affine: exploit domain information while extracting divs/mods