You can clear most flags from anywhere by:

IOCAF = 0
PIR1.5 = 0
...etc

Flags for UART require reading the RC1REG to clear the flag, but they are in the exception category.