'Red Flag' bill passed in State Assembly