Heavily armed Somali opposition fighters held positions in parts of Mogadishu on Monday, a day after clashes with government troops erupted over the president’s bid to extend his mandate, in the country’s worst political violence in years.