The measure had attracted considerable scrutiny from investors who feared it would diminish appetite for foreign investment in the U.S