The legislation, which the House is expected to vote on Tuesday, would require military and commercial aircraft to use certain tracking technology to avoid collisions.