Three soldiers martyred, 10 militants killed in South Waziristan clash