Reds win on Hamilton walk-off