The bill mandates the federal detention of illegal immigrants who are accused of theft and burglary, among other things. The legislation was seen as a priority for Republicans after the immigration crisis turned out to be a major talking point for the Trump campaign