UK bill to let Tory government change Scottish law in ‘danger to devolution’