I will guess that you did not understand the use of the variable $SHA256 inside that script, and have replaced your /bsd kernel with a hash file.
To recover:
- Boot /bsd.booted or /bsd.sp
- # cp /bsd.booted /bsd
- # sha256 -h /var/db/kernel.SHA256 /bsd
- # reboot