A bill that would allow the families of 9/11 victims to sue the Saudi government has passed a key hurdle in the US Senate.