Leaders from Cuba to Iran attending Chavez’s funeral