Just double checking Minato was considered dead prior to this chapter? Other than the bout of confusion my guess on what is happening, is either an alive or edo tensei'd Minato trying to save Danzo by killing Hayashi.
Minato was not 'alive' prior to this event. It was foreshadowed that he would return in the filler chapters. Suigetsu and Jugo found some documents about Edo Tensei and Minato's kunai