Miller to leave prosecutor's post with few regrets