How to remove/delete a partition in single-user mode?
Boot to Recovery HD or internet recovery since the Disk Management Framework isn't loaded in single user mode:

diskutil unmount disk0s3
diskutil reformat disk0s3


If you run into more problems - diskutil verifyDisk and verifyVolume and their repair variants might help to get at the underlying error condition on your volume.