Fix doubly-inverted PROGRAM_B. Also make sure that the XCOs are the ones included, not the XISEs, for all cores.