Beijing used BRICS summit to send its all-weather ally a message: it’s time for Islamabad to rethink its self-defeating narrative on Afghanistan and India