What prevented a trench warfare stalemate?