Lawmakers said they were optimistic that the political mood had changed since a similar effort collapsed in acrimony in 2010. Senator John McCain, Republican of Arizona and one of the negotiators, said he saw ''a new appreciation'' among Republicans of the need for an overhaul.
