NEW: Hagerty wins Republican primary to run for US Senate