A solution inside the Task Sequence would be to use the format.com command from the x: drive. Since the format command is already in the ram (x:) drive it doesn't required to be copied to the encrypted partition, later if you prefer you can rerun diskpart.
Command line: FORMAT.com C: /V:System /FS:NTFS /X /Q /Y
Start in: x:\windows\system32