Justices wary of tying AIDS money to prostitution pledge