Fix match in toDot, normalize indentation