Controversial 'anti-terror' bill gets royal assent in UK