Appeals court upholds decision to OK 'pay-for-delay' deals