The Texas Border Patrol standoff has raised a complex debate over immigration control, federal authority and state rights.