India's support for Sheikh Hasina, Bangladesh's former leader, has been strategically valuable but politically costly.