Blair, Musharraf pledge to fight terror