Assault weapon ban, other restrictions pass in Maryland