Two committees unanimously approved the deal, in which the city would own the building and lease it to the museum.