What was the result of the stalemate that developed on the western front?