NSW law change for domestic violence cases