Federal court rules against Huntington Beach in housing case