Deaths in the family can shape kids' educational attainment in unexpected ways