Bill amending Foreign Investment Act gets Senate's final nod