In D10586, we used an intermediate container to store a list of opcodes. Here, we use that data structure to help us perform optimization passes that would allow a more efficient encoding of bind opcodes. Currently, the functionality mirrors the optimization passes done in ld64 for bind opcodes. The eventual goal will be to perform a zero-pass implementation.