A judge on Thursday sharply questioned a challenge to a lawsuit settlement involving a $25 million payment by President Donald Trump to former customers of his now-defunct Trump University but stopped short of giving final approval to the deal that would end nearly seven years of litigation.