A judge ordered the FAA to investigate whether airlines that have shrunk the size of and distance between seats are creating a safety hazard for passengers.