Somaliland president says contentious Ethiopia deal can deter Red Sea attacks