Legislation to require all aircraft flying around busy airports to have key locator systems to prevent midair collisions failed to win approval in the House on Tuesday.