Kayani leaves behind big legacy and bitter challenges