Remove Payment#amount_is_valid_for_outstanding_balance_or_credit which is not being used anywhere.

Fixes #2978