Make merge_constraint also merge the Jacobians.