Cavendish dedicates win to armed forces