Gunman kills legislator in Puntland