N.Y. judge to consider claims that chimpanzees are ‘legal persons’