Migrant families crossing the southern border of the US illegally could now be detained indefinitely.