The US Treasury may have to break the law to keep the world’s richest nation from default