I disagree. Dying there is a gigantic loss to his country. So is his resignation. He's a genius and a hero. It just so happened another genius and hero of his level or even greater existed on the other side.
As for going to the front lines, I imagine it's to better grasp the battle situation. Ikta does it too.