pattern_match_aescape(): Fix trait-based TRAPPED test