Boston school officials did not discriminate against white and Asian students by basing admissions at elite public high schools in part on applicants' zip codes and family income rather than the results of an entrance exam, a U.S. appeals court ruled on Tuesday.