Roberto Martinez was unhappy with the referee's decision to dismiss James McCarthy in Everton's draw with Crystal Palace.