"All he had to do", and I put that in quotes because it's not obvious, was hold stock for over 30 days before buying it again and he could have deducted his losses.
He still can "deduct" the losses by carry them forward into the ne purchase basis but, I believe, that would require selling the stock.
Curious when this trading was done, I thought the whole thing happened this year not last year?