Law aims to unite families separated by immigration system