The critical mechanics of the initiation of loess flow failure and implications for landslides