Fix some boot sync issues as well as idle cores

 - Nodes above the last one were not made idle
 - Certain nodes that should have been idle would not get an image
 - Boot sync was not waiting until after chanend setup before sending CT_END