Former Cowboys player ordered to enter rehab