The conservative president faced a legislative panel weighing whether he should retain his immunity from prosecution.