On Pi-conversion in type theory