Secretary of State Hillary Rodham Clinton made an unannounced visit to Tripoli to show support and pledge millions of dollars in new aid, including medical care for wounded fighters and additional assistance to secure weaponry that many fear could fall into the hands of terrorists.