Court outlaws caste bar in Thrissur temple board