Implement operator - for arrays.

Fixes #5923