Fresh clashes between gunmen and Somali forces have left at least 17 people dead and over 45 others injured in Mogadishu.