You cannot over pay an outstanding commitment.  You can, however, create an additional application within the same payment so there are not two transactions for the payment:

1.  Highlight the row that caused the exception
2.  Select Revenue, Apply to commitments
3.  Modify the Applied amount field so it matches the Amount due.  The rest of the payment will appear under "Balance (gift amount):" section and be applied as a donation