A bill to make the right to abortion a national law was expected to fail, but could have political weight.