Pakistan is trying to clear its rugged , semi-autonomous border lands of militants , many of whom fled there after the overthrow of the Taleban in Afghanistan .