US envoy gives Pakistan ultimatum to tackle extremists on Afghan border