Towards Robust Graph Structural Learning Beyond Homophily via Preserving Neighbor Similarity