Revert "When filling an order completely, use offered amount instead of sum of spent"

This reverts commit 033fec4bd7dba3e90487382ee359cfa0ac2e2263.