Questioning his mental capacity, law adviser says advisory council may discuss whether he can continue as president