Stability for Static Walls in Ferromagnetic Nanowires