Do not choose between these two colleges solely on the promise of an EE to CS branch change, because rules have been changing. Students report that IIT Mandi discontinued branch change for newer batches, so anyone relying on it should check the current policy on the institute website first.
When the facility existed, Mandi students described a threshold of roughly the top fifth of a branch for eligibility, with a CGPA near 8.8 to 9 being the safe zone, and a lot of competition because many students join with this plan. We do not have reliable current information on Jodhpur's policy from student discussions, so you should verify it directly with the institute or seniors rather than assuming it is easier.
What does work at either place, if you land in electrical, is building a software profile alongside your degree:
Therefore, pick the campus whose EE program and student life you like, treat any branch change as a bonus, and prepare to learn programming on your own from the first semester.
Branch change from EE to CSE is easiest at IIT Jodhpur. Here, students who have scored a 9+ CGPA can change their branch as there are no additional criteria. If you are talking about an easier branch change from EE to CSE, it would definitely be IIT Jodhpur, as here there is a rule that if you score a CGPA of 9+ then you can change your branch to any branch of your choice.
When my friend was a student at IIT Mandi a few years ago, she told me that 10 students from the EE branch changed their branch to CSE and a total of about 18 students from other branches changed their branch to CSE, and about 10 students from different branches to EE. Surprisingly enough, the last student to change his branch to CSE had a CGPA of 8.67.
Thus, branch upgradation is easier at IIT Jodhpur than at IIT Mandi.