Remove deprecated Hamcrest matchers

These matchers have been deprecated since 4.11 which was released more than two years ago.