Fixed bug that caused incorrect label redeclarations in the generated assembly file.