Fixed the handling of equality comparisons in specialize_branched_loops. Also, modified build_branches to return a bool as an error handling mechanism, I doubt that it can ever return false now, but at least if it does the complie won't crash.
Removed a debugging statement.