Distinguishing neutrino mass hierarchies using dark matter annihilation signals at IceCube