[cli] Fix code for deleting analyses with related interpretation, samples,…
[cli] Fix code for deleting analyses with related interpretation, samples, genotypes etc. Move to helper function to avoid api call from CLI.
[cli] Fix code for deleting analyses with related interpretation, samples, genotypes etc. Move to helper function to avoid api call from CLI.