Remove unnecessary map from \{::Triangular} error check

Cleanup of #6399.