Resistance in both Democratic and Republican cities points to broader unease with the direction of immigration enforcement.