Ayr United V Hamilton sale has ended.