tevent: rewrite/simplify tevent_poll and maintain ev->fd_events correctly