Chavez surgery gives rival an opening before vote