Four militants killed in police encounter in Swabi