Musharraf offers to pull troops back from Afghan border