Lawmakers and advocates were gaining momentum until the president backtracked on his campaign promise.