Adding better refund logic for Emp

When doing a refund with refund items, we should check if it isn't actually a full purchase refund, so we provide the right params to Emp API