Four killed in earthquake, rain in KP