I would first take the ripped check to a teller at the bank and see if teller will accept it for deposit. If not, call the IRS refund hotline at 800-829-1954 (Mon - Fri, 7 a.m. - 7 p.m.) and ask them what to do. They may talk about a refund trace, but it seems to me that you don't really need that, since you have the check.