India thrash SA by 87 runs to level series