Change electric-indent-mode-hook to prog-mode-hook

electric-indent-mode-hook seemed to be somewhat unreliable to trigger,
if a major mode enabled it. Don't really know why, but this works.