Partial regularity of stable solutions to the Emden equation