Agent (assuming he/she is only a "reservations" agent and does not handle "ticketing") needs to call the ticketing help desk to have control of the electronic flight coupons for the ANA segments taken back. Once UA has regained control, they can then go ahead and exchange the ticket.