Planning to Build Block Structures With Unstable Intermediate States Using Two Manipulators