British lawmakers amend anti-terrorism law