European Union offers to train Somali troops as fighting breaks out