Except for PORTA.0, you've set all PORTA pins to OUTPUT mode.
Code:
TRISA = 1                       ; All PORTA as inputa
By default at power-up, all pins are in INPUT mode.
So unless you need to set a pin to output, you don't need to change the TRIS register.