Warrnambool keep second spot in sight with victory over Hamilton