ptrace: Don't abort when ptrace fails, but erase child

This can happen if the child gets a signal, and then exits before wait
is called again. Then we would exit with breakpoints left in other
proceses, which thereafter crashes.