That's weird. I don't reproduce that behavior. Anyway, you can just temporarily comment out the vfstab line for "swap -a" to work, or simply reboot while keeping the line intact.
You cannot use a file based swap file when that file is on ZFS. Simply add a zvol instead.
zfs create -V 5gb rpool/swap1
swap -a /dev/zvol/dsk/rpool/swap1