Amid flak, railways earns kudos from CAG