sfn_delete_state_machine function

Deletes a state machine