feat(kernel/conveter): improve support for proof irrelevant in the converter

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>