Texas man gets life in rape of 4-year-old who died