Ducks grind out gutsy 1-0 win to end long road trip