Hawaii ranked 40th for best state to retire, although it did rank high on health care.