Hybrid-density functional study of magnetism and ligand control in Ni9 complexes