High court reserves judgment on terminally ill baby