A move to swiftly pass the bill failed by a single vote. It would have required aircraft to carry technology that officials said might have prevented a midair collision near Washington last year.
The Trump administration for months ignored Congress's demand for a plan on how the Defense Department would spend the money that Republicans pushed through in their sweeping domestic policy bill.