French assembly passes controversial security bill