MOGADISHU, Somalia — Lt. Roy Hollan’s machine-gun platoon was backing up a French Foreign Legion reconnaissance mission in a bombed-out neighborhood here a few days ago when his U.S. Marine unit spotted snipers on a rooftop. The Americans raised their weapons, girding for a firefight, until the French commander quickly informed them that the snipers were Legionnaires providing cover for the mission.