I think you did the right thing...you should never stay somewhere, where they don't appreciate or value you.
Sometimes we do have to compromise considering the situation, but the way they slashed down your salary to... it's no way compromisable.
I can totally understand you pain, but I am sure you will get to a good plce soon where your work will be valued.