The state united behind the Plan of Ayutla and ratified the new constitution in 1855. The state was able to survive through which war