Age and cost of treatment are among the top reasons patients leave the hospital early, which can pose dire risks, including further illness and death, researchers say.