Law to counter foreign interference passed after long debate over its extensive powers