Afghan forces foil IS plan to assassinate top US envoy