A bill allowing detaining migrants in prison for one year passed in the Knesset