NSW Parliament passes alcohol-fuelled violence bill hours after drafting