Musharraf defends backing US invasion of Afghanistan