Ex-Maldives president flies to Germany to treat blast wounds