well, i'm a little late on this, but first I'd take him to the vet. This type of stuff isn't something to take lightly usually. Second, make sure he is drinking plenty of water and eating plenty of roughage (hay, etc.). Those two I believe help with keeping the digested hair from grooming from clogging up his system.
~*Caitlin*~