David Cassidy sentenced to rehab in DUI case