finspace_delete_kx_environment function

Deletes the kdb environment