The HC174 will work fine, as will most of the other logic variants, LS, AC, etc.
It's easy enough to repair the damaged tracks and pads.
Since a number of the tracks for U177 run underneath the device, just get yourself a piece of thin wire, like one from a standard ribbon cable (like old floppy drive cable).
Bare the wire and use a single strand or "hair" to run under the device, joining one end of the wire onto an exposed track or via, then running the other end out to where the pad used to be.
If not running wires under the IC, you can buy a green coloured overcoat pen which is a special laquer which you "paint" onto exposed copper and solder joints.
Done right, you can barely tell a repair job has been done at all.
Once you're ready to fit the new SOIC, it'll sit nicely on top of the repair job, providing you've kept everything neat. Just solder the pin of the IC to the end of the wire strand underneath.
Most of this is drawn here:
http://amiga.serveftp.net/images/ViaRepair.jpgIt's possible to do fairly complex repair jobs quickly and easily like this, most often you can't even see it's been done, as it sits under the IC.
If it helps, I've also written a SMD soldering guide for SOICs here:
http://amiga.serveftp.net/Replace_SOIC.htmlI can also supply the new SMD parts ex stock, but by the time I sent them from NZ, it'd be about the same price anyway.
Anthony.