Which state, though a part of the Union, was divided due to conflicting loyalties and formed a separate state in 1863?