Lin-Manuel Miranda’s musical about the first U.S. treasury secretary began as an oddball idea, and has since become part of Broadway history — with close ties to Chicago along the way.