India abstained in the UN General Assembly on a resolution that underscored the need to reach as soon as possible a “comprehensive, just and lasting peace” in Ukraine.