update function name to edd_undo_purchase_on_refund(). Closes #1627