Appeals court: Trump can't use Pentagon cash for border wall