Ignore matches that are strictly contained in other matches

Fixes #11.