Add ready_to_exit check to ensure_vnodes_started

Ensure all vnode modules that implement the ready_to_exit/0 callback
return true before transitioning vnodes from leaving to exiting state.