Mexico activist freed in surprising rights victory