Some law enforcement groups said they could support the bill if it was amended to say officers “may” check immigration status, instead of “shall” check.