New South Wales, Australia's most populous state, is expected to pass sweeping new gun laws and give police power to temporarily ban protests in the wake of the mass shooting at Bondi.