Two black men arrested while waiting at a Philadelphia Starbucks store reached a settlement with the coffee chain and dropped legal claims against the city.