Militants kill policeman in checkpost attack