Judge to Phila. schools: Hire back counselors