Top UN court backs Qatar in row with neighbors