Unfortunately, it is not possible for a coupon code to be removed from the cart on the registration form once it has been entered. 
Registrants will need to re-start the registration process to enter a new code.