The second engine may also go out while dealing with the first if, for example it is a fuel problem. If this were the case then a pilot will need all the potential energy he can translate.
Yes I agree that adopting the cruise attitude and airspeed would make it things easier but I would prefer to perform a blue line climb just incase the second goes.