Nearly 10 years after Madison Square Garden hosted the 2004 Republican National Convention, the city has agreed to pay $18 million to settle dozens of lawsuits brought by protesters and bystanders who claim they were wrongly arrested during the event.