Former shadow Home Secretary David Davis , who resigned from the Commons then won a by-election over the issue , said : " The Government has undertaken a spectacular climbdown , and has come up with a proposal strikingly similar to the Civil Contingencies Act offered over a year ago .