Donald J. Trump returned the fire of rivals and moderators at the Republican debate on Thursday night.