The party is embracing a GOP-led bill that would require detention of undocumented immigrants who are charged with nonviolent crimes like theft and burglary.