Improve error message for range in match

Range allows char and numeric types, but previous error message
mentioned only numeric types.