Task force will look at shifting police functions, but solicitor says council cannot limit weapons