Then,5000 or so who would support Mexico would change result of war.
But,as you said,they could support rebellion ,too - in that case,we could have OTL History,but with strong polish minority in Texas.
That could change future History - for example,Texas taking polish refugees after WW2,and...