I can't easily tell by looking at the code what the actual exploit is or why it can't be patched in a new version of the bootloader.
This looks like a bootrom exploit - the stage before iBoot - that verifies signatures of the firmware. The code for it is hard burned - read only from software. This can only be fixed with new hardware. https://www.theiphonewiki.com/wiki/Bootrom