Ararat man who allegedly threatened to kill ex-partner applies for bail