A judge ordered Philippe P. Dauman to sit for a deposition in the legal battle over the media mogul’s mental competency.