Computes the difference of arrays using keys for comparison