SERVER-12242 SERVER-12244 Fix typo in compact/reIndex error messages

The error messages originally were incorrectly swapped with one
another.