The race, in which Senator Dianne Feinstein, a liberal Democrat, is seeking re-election in the face of a strong challenge from Representative Michael Huffington, a conservative Republican from Santa Barbara, was marked in its final hours by more bitter exchanges over illegal immigration.