Hostile same-sex marriage vote spurs Australia to amend anti-hate law