I think the issue is the Comparator module is still turned on.

Your CMCON = 0 sets the comparator to Reset with RA0 and RA1 connected to the Comparator module.
Have a look at the DS Figure 6-2 which shows the possible 8 modes of the comparator.
You should try setting CMCON = %00000111