Setback for Mamata govt: SC upholds HC order invalidating appointment of 25k teachers