Former China security boss ally admits to corruption