Deductions & credits

It's not an increase in basis of the remaining stock.  You're going to deduct that basis when you report the sale, so you can't "double dip" and also get a higher basis in the remaining stock.